export const apiPrefix = "/cmsApi"
export const uploadFile = `${apiPrefix}/upload/file`
export const ws =  `${apiPrefix}/ws`

// 获取数据字典
export const getDicts = (axios,type) => {
	return axios({
		url: `/common/dict/${type}`,
		method: 'get',
		params:{},
		headers: {
		  isToken: false,
		},
	});
}
